<!--
 * @Autor: 黄旗
 * @Date: 2020-07-17 09:00:14
-->
<template>
	<TreeSelect
        v-show="params.show ? params.show.show : true"
		v-model="params.value"
		:data="params.childList"
		:style="params.style"
		:placeholder="params.placeholder || '请选择'"
		:multiple="params.multiple"
		:clearable="params.clearable"
		:show-checkbox="params.showCheckbox"
		:load-data="params.loadData"
		:transfer="params.transfer"
		:max-tag-count="params.maxTagCount"
		@on-change="$emit('on-change', $event)"
	/>
</template>

<script>
export default {
  props: ["params"],
};
</script>
